﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Clinica/MasterPageAtencion.master" AutoEventWireup="true" CodeFile="wfAtencionEnfermedadActual.aspx.cs" Inherits="Clinica_wfAtencionEnfermedadActual" %>

<%@ Register Assembly="DevExpress.Web.v11.2, Version=11.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxPopupControl" TagPrefix="dx" %>

<%@ Register assembly="DevExpress.Web.v11.2, Version=11.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxPanel" tagprefix="dx" %>
<%@ Register assembly="DevExpress.Web.ASPxEditors.v11.2, Version=11.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxEditors" tagprefix="dx" %>
<%@ Register assembly="DevExpress.Web.v11.2, Version=11.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxTabControl" tagprefix="dx" %>
<%@ Register assembly="DevExpress.Web.v11.2, Version=11.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxClasses" tagprefix="dx" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <style type="text/css">
        #tdTipoEnfermedad > div {
           float:left;
            height: 27px;
            width: 40px;
        }
         #tdTipoEnfermedad
         {
            width:520px;
         }
         .divlabel
         {
            padding-left:5px;
            padding-right:5px;
            margin-right: 65px;
            margin-top: 6px;
         }
         #tbFBilogicas > div
         {
             float:left;
         }
           #tbFBilogicas
         {
            width:100%;
            height:100%;
            padding:10px;
         }
         .clear
         {
            clear:both; 
         }
         .divColLabels
         {
            width:60px;
            padding-top:15px; 
            margin-right:10px;
         }
         .divColLabels > .labelFBiologicas 
         {
           float:right;  
           margin-bottom:24px;
         }
         .divColInputs
         { 
            margin-right:10px; 
         }
          .divColInputs > .inputFBiologicas 
         {
            margin-top:7px;   
         }
         .concat > *
         {
         float:left;
         margin-right:10px;
         }
         #kgText
         {
            margin-top:5px;    
         }
         .subCategoria
         {
         height:50px;
         }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentMenuSecundario" Runat="Server">
<li><a href="wfInterconsultaListado.aspx" class="">Interconsulta</a></li>
    <li><a href="wfAtencionListado.aspx" class="active">Atención</a></li>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ModuleTitleContent" Runat="Server">
Atención
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ContentEnlacesRapidos" Runat="Server">
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="MainContent" Runat="Server">
<ul class="tabs primary">
        <li><a href="wfAtencionListado.aspx">Listado de Atenciones</a></li>
        <li><a href="wfAtencion.aspx" class="">Registrar Atención</a></li>
        <li class="active"><a href="wfAtencionEnfermedadActual.aspx" class="">Enfermedad Actual</a></li>
        <!--<li><a href="wfAtencionHistoriaPersonal.aspx" class="">Historia Personal</a></li>
        <li><a href="wfAtencionHistoriaSocial.aspx" class="">Historia Social</a></li>-->
        <li><a href="wfAtencionExamenActividad.aspx" class="">Examen Actividad</a></li>
        <li><a href="wfAtencionExamenEspecialidad.aspx" class="">Examen Especialidad</a></li>
        <li><a href="wfAtencionDiagnostico.aspx" class="">Diagnostico</a></li>
    </ul>
    <h4>Registrar Enfermedad Actual</h4>
    <table width="99%">
        <tr>
            <td>
                <dx:ASPxPanel ID="ASPxPanel1" runat="server" Width="99%">
                    <PanelCollection>
                        <dx:PanelContent ID="PanelContent1" runat="server" SupportsDisabledAttribute="True">
                            <table>
                                <tr>
                                    <td>
                                        <dx:ASPxButton ID="btnAceptarEnfermedadActual" runat="server" 
                                            ClientIDMode="AutoID" CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css"
                                            CssPostfix="PlasticBlue" SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css"
                                            Text="Aceptar" OnClick="btnAceptarEnfermedadActual_Click">
                                        </dx:ASPxButton>
                                    </td>
                                    <td>
                                        <dx:ASPxButton ID="btnCancelarEnfermedadActual" runat="server" 
                                            ClientIDMode="AutoID" CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css"
                                            CssPostfix="PlasticBlue" SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css"
                                            Text="Cancelar" OnClick="btnCancelar_Click">
                                        </dx:ASPxButton>
                                    </td>
                                </tr>
                            </table>
                        </dx:PanelContent>
                    </PanelCollection>
                </dx:ASPxPanel>
            </td>
        </tr>
    </table>
    <table>
    <tr>
    <td colspan="13">
        <dx:ASPxLabel ID="ASPxLabel1" runat="server" 
            CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" CssPostfix="PlasticBlue" 
            Text="1. Patrón Temporal:">
        </dx:ASPxLabel>
        </td>
    </tr>
    <tr>
    <td class="style1">
        <dx:ASPxLabel width="150px" class="estiloLabels" ID="ASPxLabel2" runat="server" 
            CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" CssPostfix="PlasticBlue" 
            Text="a). Inicio:">
        </dx:ASPxLabel>
        </td><td></td><td colspan="11">
        <dx:ASPxRadioButtonList ID="radioButtonsInicio" runat="server" 
            CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" CssPostfix="PlasticBlue" 
            RepeatDirection="Horizontal" 
            SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css" 
            TextSpacing="4px">
            <Items>
                <dx:ListEditItem Selected ="True" Text="Súbito" Value="1" />
                <dx:ListEditItem Text="Brusco" Value="2" />
                <dx:ListEditItem Text="Gradual" Value="3" />
            </Items>
        </dx:ASPxRadioButtonList></td>
    </tr>
    <tr>
    <td class="style1">
        <dx:ASPxLabel ID="ASPxLabel3" runat="server" 
            CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" CssPostfix="PlasticBlue" 
            Text="b). Tiempo de Enfermedad">
        </dx:ASPxLabel>
        </td><td></td><td>
        <div  id="tdTipoEnfermedad">
            <div>
                <dx:ASPxSpinEdit ID="spinEditDias" runat="server" Height="21px" Number="0" 
                    Width="40px" MaxValue="100" NumberType="Integer">
                </dx:ASPxSpinEdit>
            </div>
            <div class="divlabel">
            <dx:ASPxLabel ID="ASPxLabel4" runat="server" 
                    CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" CssPostfix="PlasticBlue" 
                    Text="días">
                </dx:ASPxLabel>
                
            </div>
            
            <div> 
                <dx:ASPxSpinEdit ID="spinEditMeses" runat="server" Height="21px" Number="0" 
                    Width="40px" MaxValue="100">
                </dx:ASPxSpinEdit>       
            </div>
            <div class="divlabel">
                <dx:ASPxLabel ID="ASPxLabel5" runat="server" 
                    CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" CssPostfix="PlasticBlue" 
                    Text="meses">
                </dx:ASPxLabel>
            </div>
            
            <div>
                <dx:ASPxSpinEdit ID="spinEditAnios" runat="server" Height="21px" Number="0" 
                    Width="40px" MaxValue="100">
                </dx:ASPxSpinEdit>
            </div>
            <div class="divlabel">
                <dx:ASPxLabel ID="ASPxLabel6" runat="server" 
                    CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" CssPostfix="PlasticBlue" 
                    Text="años">
                </dx:ASPxLabel>
            </div>
        </div>
        </td>
    </tr>
    <tr>
        <td class="style1">
            <dx:ASPxLabel ID="ASPxLabel7" runat="server" 
                CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" CssPostfix="PlasticBlue" 
                Text="c). Curso:">
            </dx:ASPxLabel>
            </td>
            <td></td>
            <td colspan="11">
                <dx:ASPxRadioButtonList ID="radioButtonsCurso" runat="server" 
                    CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" CssPostfix="PlasticBlue" 
                    RepeatDirection="Horizontal" 
                    SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css" 
                    TextSpacing="4px">
                    <Items>
                        <dx:ListEditItem Selected="True" Text="Progresivo" Value="1" />
                        <dx:ListEditItem Text="Estacionario" Value="2" />
                        <dx:ListEditItem Text="Episódico" Value="3" />
                        <dx:ListEditItem Text="Remisión" Value="4" />
                    </Items>
                </dx:ASPxRadioButtonList>
            </td>
    </tr>
    <tr>
    <td class="style1">
        <dx:ASPxLabel ID="ASPxLabel8" runat="server" 
            CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" CssPostfix="PlasticBlue" 
            Text="d). Evolución:">
        </dx:ASPxLabel>
        </td><td></td><td colspan="11">
        <dx:ASPxRadioButtonList ID="radioButtonsEvolucion" runat="server" 
            CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" CssPostfix="PlasticBlue" 
            RepeatDirection="Horizontal" 
            SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css" 
            TextSpacing="4px">
            <Items>
                <dx:ListEditItem Selected="True" Text="Agudo" Value="1" />
                <dx:ListEditItem Text="Subagudo" Value="2" />
                <dx:ListEditItem Text="Crónico" Value="3" />
            </Items>
        </dx:ASPxRadioButtonList>
        </td>
    </tr>
    <tr>
    <td colspan="13">
        <dx:ASPxLabel ID="ASPxLabel9" runat="server" 
            CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" CssPostfix="PlasticBlue" 
            Text="2. Patrón Sintomatológico">
        </dx:ASPxLabel>
        </td>
    </tr>
    <tr>
    <td class="style1">
        <dx:ASPxLabel ID="ASPxLabel10" runat="server" 
            CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" CssPostfix="PlasticBlue" 
            Text="a) Síntoma Principal:">
        </dx:ASPxLabel>
        </td><td></td><td colspan="11">
        <dx:ASPxTextBox ID="txtSintomaPrincipalEnfermedadActual" runat="server" 
            CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" CssPostfix="PlasticBlue" 
            SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css" Width="170px">
            <ValidationSettings>
                <ErrorFrameStyle ImageSpacing="4px">
                    <ErrorTextPaddings PaddingLeft="4px" />
                </ErrorFrameStyle>
            </ValidationSettings>
        </dx:ASPxTextBox>
        </td>
        

    </tr>
    <tr>
    <td colspan="13">
        <dx:ASPxLabel ID="ASPxLabel11" runat="server" 
            CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" CssPostfix="PlasticBlue" 
            Text="b) Relato cronológico de la evolución de los sintomas:">
        </dx:ASPxLabel>
        </td>
    </tr>
    <tr>
    <td colspan="13">
        <dx:ASPxTextBox ID="txtRelatoCronologicoEvolucionSintomasEnfermedadActual" runat="server" 
            CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" CssPostfix="PlasticBlue" 
            SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css" Width="800px">
            <ValidationSettings>
                <ErrorFrameStyle ImageSpacing="4px">
                    <ErrorTextPaddings PaddingLeft="4px" />
                </ErrorFrameStyle>
            </ValidationSettings>
        </dx:ASPxTextBox>
        </td>
    </tr>
    <tr>
    <td>
    <div class="subCategoria">
        <dx:ASPxLabel ID="ASPxLabel12" runat="server" 
            CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" CssPostfix="PlasticBlue" 
            Text="F. Biológicas">
        </dx:ASPxLabel>
    </div>
    </td>
    <td></td>
    <td>
        <div id="tbFBilogicas">
        <div class="divColLabels">
            <div class="labelFBiologicas">
                <dx:ASPxLabel ID="ASPxLabel13" runat="server" 
                    CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" CssPostfix="PlasticBlue" 
                    Text="Apetito:">
                </dx:ASPxLabel>
            </div>
            <div class="clear"></div>
            <div class="labelFBiologicas">
                <dx:ASPxLabel ID="ASPxLabel16" runat="server" 
                    CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" CssPostfix="PlasticBlue" 
                    Text="Heces:">
                </dx:ASPxLabel>
            </div>
             <div class="clear"></div>
            <div class="labelFBiologicas">
                <dx:ASPxLabel ID="ASPxLabel19" runat="server" 
                    CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" CssPostfix="PlasticBlue" 
                    Text="Peso:">
                </dx:ASPxLabel>
            </div>
        </div>
        <div id="contenedorInputs1" class="divColInputs">
            <div class="inputFBiologicas">
                <dx:ASPxTextBox ID="txtApetitoEnfermedadActual" runat="server" 
                    CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" CssPostfix="PlasticBlue" 
                    SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css" Width="150px">
                    <ValidationSettings>
                        <ErrorFrameStyle ImageSpacing="4px">
                            <ErrorTextPaddings PaddingLeft="4px" />
                        </ErrorFrameStyle>
                    </ValidationSettings>
                </dx:ASPxTextBox>
            </div>
            <div class="clear"></div>
            <div class="inputFBiologicas">
                <dx:ASPxTextBox ID="txtHecesEnfermedadActual" runat="server" 
                    CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" CssPostfix="PlasticBlue" 
                    SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css" Width="151px">
                    <ValidationSettings>
                        <ErrorFrameStyle ImageSpacing="4px">
                            <ErrorTextPaddings PaddingLeft="4px" />
                        </ErrorFrameStyle>
                    </ValidationSettings>
                </dx:ASPxTextBox>
            </div>
            <div class="clear"></div>
            <div  class="inputFBiologicas concat">
                <dx:ASPxTextBox ID="txtPesoEnfermedadActual" runat="server" 
                    CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" CssPostfix="PlasticBlue" 
                    SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css" Width="151px">
                    <ValidationSettings>
                        <ErrorFrameStyle ImageSpacing="4px">
                            <ErrorTextPaddings PaddingLeft="4px" />
                        </ErrorFrameStyle>
                    </ValidationSettings>
                </dx:ASPxTextBox>
                <div id="kgText">
                 <dx:ASPxLabel ID="ASPxLabel15" runat="server" 
                        CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" CssPostfix="PlasticBlue" 
                        Text="Kg.">
                    </dx:ASPxLabel>
                 </div>
            </div>
         </div>
         <div class="divColLabels">
            <div class="labelFBiologicas">
                <dx:ASPxLabel ID="ASPxLabel14" runat="server" 
                    CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" CssPostfix="PlasticBlue" 
                    Text="Sed:">
                </dx:ASPxLabel>
            </div>
            <div class="clear"></div>
            <div class="labelFBiologicas">
                <dx:ASPxLabel ID="ASPxLabel17" runat="server" 
                    CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" CssPostfix="PlasticBlue" 
                    Text="Orina:">
                </dx:ASPxLabel>
            </div>

         </div> 
         <div class="divColInputs">
            <div class="inputFBiologicas">
                 <dx:ASPxTextBox ID="txtSedEnfermedadActual" runat="server" 
                    CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" CssPostfix="PlasticBlue" 
                    SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css" Width="170px">
                    <ValidationSettings>
                        <ErrorFrameStyle ImageSpacing="4px">
                            <ErrorTextPaddings PaddingLeft="4px" />
                        </ErrorFrameStyle>
                    </ValidationSettings>
                </dx:ASPxTextBox>
            </div>
            <div class="inputFBiologicas">
                <dx:ASPxTextBox ID="txtOrinaEnfermedadActual" runat="server" 
                    CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" CssPostfix="PlasticBlue" 
                    SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css" Width="170px">
                    <ValidationSettings>
                        <ErrorFrameStyle ImageSpacing="4px">
                            <ErrorTextPaddings PaddingLeft="4px" />
                        </ErrorFrameStyle>
                    </ValidationSettings>
                </dx:ASPxTextBox>
            </div>
        </div>
    </div>

     </td>
    </tr>
    </table>
    <dx:ASPxPopupControl ID="pcMensaje" runat="server" Width="350px" AllowDragging="True"
                AllowResize="True" ClientInstanceName="pcMensaje" CloseAction="CloseButton" CssPostfix="PlasticBlue"
                HeaderText="Mensaje" Modal="True" PopupHorizontalAlign="WindowCenter" PopupVerticalAlign="WindowCenter"
                DragElement="Window">
                <HeaderImage Url="~/Imagenes/iconError.png" Width="20px">
                </HeaderImage>
                <HeaderStyle Font-Bold="True" />
                <ContentCollection>
                    <dx:PopupControlContentControl ID="PopupControlContentControl1" runat="server" SupportsDisabledAttribute="True">
                        <table style="width: 100%;">
                            <tr>
                                <td class="Filas" align="center">
                                    <dx:ASPxLabel ID="lblMensaje" runat="server">
                                    </dx:ASPxLabel>
                                </td>
                            </tr>
                            <tr>
                                <td class="Filas" align="center">
                                    <dx:ASPxButton ID="btnPopAceptar" runat="server" Text="Aceptar" CssPostfix="PlasticBlue"
                                        AllowDragging="True" DragElement="Window" Font-Bold="True" AutoPostBack="False">
                                        <ClientSideEvents Click="function(s, e) {
	pcMensaje.Hide();
}" />
                                    </dx:ASPxButton>
                                </td>
                            </tr>
                        </table>
                    </dx:PopupControlContentControl>
                </ContentCollection>
            </dx:ASPxPopupControl>
    </asp:Content>

